# -*- coding:utf-8 -*-

# @Time : 2022/11/22 15:11
# @Author : 快乐的小猴子
# @Version : 
# @Function : 

import requests


def get_proxy_ip():
    url = 'http://17600306612.user.xiecaiyun.com/api/proxies?action=getJSON&key=NPE6A0632A&count=&word=&rand=false&norepeat=false&detail=false&ltime=&idshow=false'
    proxy_ip = requests.get(url)
    # print(proxy_ip.json())
    ip_port = proxy_ip.json()['result'][0]
    return ip_port


# get_proxy_ip()
